package com.lwy.qiuchao.member.dao;

import com.lwy.qiuchao.member.entity.TokenEntity;
import org.apache.ibatis.annotations.Param;

/**
 * @author shkstart
 * @date 2020/12/15 -9:21
 */
public interface TokenMapper {
    void addToken(@Param("token") TokenEntity token);

    /* 修改token */
    void updataToken(@Param("token") TokenEntity token);

    /* 查询token */
    TokenEntity findByUserId(@Param("mId") Long mId);

}
